package cn.itsource.utils;

public class IdUtil {
    private static final int WORKER_ID = 1;
    private static final int DATACENTER_ID = 1;
    public static Long getId(){
        return cn.hutool.core.util.IdUtil.createSnowflake(WORKER_ID,DATACENTER_ID).nextId();
    }
}
